package fun.codedesign.jdk.lang.string;

import org.junit.Test;

public class StringBuilderTest {

    private StringBuilder sb;
    // private StringBuffer buffer;

    @Test
    public void testConstructor() throws Exception {
        sb = new StringBuilder();
        sb = new StringBuilder(new StringBuilder());
        sb = new StringBuilder("str1");
        sb = new StringBuilder(123);
    }

    @Test
    public void testSet() throws Exception {
        sb.reverse();
    }
}	
